package cn.iocoder.yudao.module.worker.convert.clerk;

import cn.iocoder.yudao.module.worker.api.clerk.dto.ClerkRespDTO;
import cn.iocoder.yudao.module.worker.dal.dataobject.clerk.ClerkDO;
import org.mapstruct.Mapper;
import org.mapstruct.factory.Mappers;

import java.util.List;

@Mapper
public interface ClerkConvert {

    ClerkConvert INSTANCE = Mappers.getMapper(ClerkConvert.class);

    List<ClerkRespDTO> convert(List<ClerkDO> list);

    ClerkRespDTO convert(ClerkDO bean);

}
